package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 7/11/13
 * Time: 9:09 AM
 * To change this template use File | Settings | File Templates.
 */
public class ViewCommand implements Command {
    Library lib;
    public ViewCommand(Library library) {
        this.lib = library;
    }

    @Override
    public void select() {
        lib.printList(lib.getBookList());
        //System.out.println("0");
    }
}
